package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 护理计划对象 nursing_plan
 *
 * @author zyl
 * @date 2025-02-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "护理计划对象")
@TableName(value = "nursing_plan")
public class NursingPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号", example = "1")
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /** 排序号 */
    @Excel(name = "排序号")
    @ApiModelProperty(value = "排序号", example = "10")
    private Integer sortNo;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称", example = "基础护理计划")
    private String planName;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态", example = "1", allowableValues = "0, 1")
    private Integer status;


}
